//=============================================================================
/**
 * @file	pkthln_steal_sub.h
 * @brief	フラッグサブ画面
 * @date	2008.07.02
 */
//=============================================================================

#ifndef	__PKTHLN_STL_SUB_H__
#define	__PKTHLN_STL_SUB_H__

#include "common.h"
#include "../pkthln_clact.h"

#define SUB_DISP_DISTANCE	(700 * FX32_ONE)		//値は適当

typedef struct STL_SUB_CNT_tag * STL_SUB_CNT_PTR;

typedef struct ICON_INFO_tag
{
	u16 MonsNo;
	u16 Form;
}ICON_INFO;

#include "../../pokethlon.h"

extern STL_SUB_CNT_PTR StlSub_Init( const int inHeapID,
									GF_BGL_INI *inBgl,
									PKTHLN_PTR pkthlnPtr );
extern void StlSub_Free( STL_SUB_CNT_PTR ptr );
extern void StlSub_SetBG(STL_SUB_CNT_PTR ptr);

extern void StlSub_SetObj(STL_SUB_CNT_PTR ptr, PKTHLN_CLACT_CNT_PTR pActCntPtr);
extern void StlSub_SetPokeAct( 	STL_SUB_CNT_PTR ptr, PKTHLN_CLACT_CNT_PTR pActCntPtr,
								CMN_RES_CNT_PTR cmn_res_ptr	);
extern void StlSub_SetupPokeIcon( STL_SUB_CNT_PTR ptr, const ICON_INFO *inIconInfo );

extern void StlSub_SetIconPos(STL_SUB_CNT_PTR ptr, const u8 inNetID, const int inLen);
extern void StlSub_SetupPokeGraphic(STL_SUB_CNT_PTR ptr, const MONS_INFO *inInfoList);
extern void StlSub_TransPokeGra( STL_SUB_CNT_PTR ptr, const u8 inTarget, const u8 inTargetPoke);
extern void StlSub_TransPokeIcon(STL_SUB_CNT_PTR ptr, const u8 inNetID, const u8 inEntryIdx);
extern void StlSub_FillPoint(STL_SUB_CNT_PTR cnt_ptr, const u16 inPoint);
extern BOOL StlSub_PokeChangeMain(STL_SUB_CNT_PTR ptr, const u8 inStlPokeIdx);
extern BOOL StlSub_NpcPokeChangeMain(STL_SUB_CNT_PTR ptr, const u8 inNpcIdx);
extern void  StlSub_SetDrawSubDispIcon(STL_SUB_CNT_PTR ptr,
		const u8 inNetID, const u8 inPokeIdx, const BOOL inChg, const int inState);
extern void StlSub_DispTime(STL_SUB_CNT_PTR ptr, const u16 inTime);
extern void StlSub_SetPriority( STL_SUB_CNT_PTR ptr, const int inMyNetID);
extern void StlSub_SetFlagNum( STL_SUB_CNT_PTR ptr, const int inNetID, const u8 inFlgNum );
extern void StlSub_StartPtGetAnm(STL_SUB_CNT_PTR ptr, const int inNetID);

#endif	//__PKTHLN_STL_SUB_H__